package com.example;

import com.example.domain.Order;
import com.example.domain.Product;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 上下文
 */
@Data
public class ProcessFlowContext {
    private Order order;
    private List<Product> productList = new ArrayList<>();
    private Map<String, BigDecimal> strategyMap = new HashMap<>();
}
